//
//  HotVCModel.m
//  项目A --半糖
//
//  Created by romana on 16/5/17.
//  Copyright © 2016年 romana. All rights reserved.
//

#import "HotVCModel.h"
#import "HotSecondModel.h"

@implementation HotVCModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key{

    
}


-(void)setTopic:(NSMutableArray *)topic{

    _topic = topic;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _topic) {
        HotSecondModel *NSModel = [[HotSecondModel alloc] init];
        [NSModel setValuesForKeysWithDictionary:dic];
        [array addObject:NSModel];
    }

    _topic = [NSMutableArray arrayWithArray:array];


}



@end
